package api

import (
	"github.com/1141520944/go-library/hjz/common"
	"github.com/1141520944/go-library/library/log"
	"github.com/gin-gonic/gin"
	"learn/k8s/internal/api/server"
	"learn/k8s/internal/pkg/data"
)

func NewAPI(e *gin.Engine, db *data.Data, l *log.Logger) {
	common.AddRouter(server.NewHandler(db, l, e))
}
